<template>
  <el-config-provider :locale="zhCn">
    <router-view v-slot="{ Component }">
      <!-- <Transition name="bounce"> -->
      <!-- <keep-alive
        :max="10"
        :exclude="['index']"
      > -->
      <component :is="Component" />
      <!-- </keep-alive> -->
      <!-- </Transition> -->
    </router-view>
  </el-config-provider>
</template>

<script lang="ts" setup>
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
</script>

<style>
* {
  box-sizing: border-box;
}
</style>
